package com.ruoyi.db.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商户基本信息对象 lq_merchant_base_info
 * 
 * @author ruoyi
 * @date 2023-08-12
 */
@Data
@TableName("lq_merchant_base_info")
public class MerchantBaseInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String infoName;

    /** 机构类型（API）(CRM) */
    @Excel(name = "机构类型", readConverterExp = "A=PI")
    private String infoType;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String descInfo;

    /** 商务ID */
    @Excel(name = "商务ID")
    private Long ownerId;


    private String typeRate;

    private String priceType;

    /** 商务姓名 */
    @Excel(name = "商务姓名")
    private String ownerName;

    /** 公司名字 */
    @Excel(name = "公司名字")
    private String companyName;

    private String companyShortName;

    private String companyTitle;

    private String companySubTitle;

    /** 公司联系人 */
    @Excel(name = "公司联系人")
    private String companyUser;

    /** 公司电话 */
    @Excel(name = "公司电话")
    private String companyPhone;

    /** 推送数量 */
    @Excel(name = "推送数量")
    private Long pushNumber;

    /** 是否风控 */
    @Excel(name = "是否风控")
    private Long riskFlag;

    private Long approveFlag;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;
    private Long singlePushFlag;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 管理账号名称 */
    @Excel(name = "管理账号名称")
    private String adminName;

    /** 管理账号密码 */
    @Excel(name = "管理账号密码")
    private String adminPwd;

    /** 工厂类型 */
    @Excel(name = "工厂类型")
    private String factoryType;

    /** apicode */
    @Excel(name = "apicode")
    private String apiCode;

    /** key */
    @Excel(name = "key")
    private String apiKey;

    /** 密钥 */
    @Excel(name = "密钥")
    private String apiSecret;

    /** 公钥 */
    @Excel(name = "公钥")
    private String apiPubKey;

    /** 私钥 */
    @Excel(name = "私钥")
    private String apiPriKey;

    /** 撞库url */
    @Excel(name = "撞库url")
    private String apiCheckUrl;

    /** 注册url */
    @Excel(name = "注册url")
    private String apiRegisterUrl;

    /** 查询url */
    @Excel(name = "查询url")
    private String apiQueryUrl;

    private String apiProtocolUrl;

    private String sortWeight;

    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    private String companyLogo;
    private String maxLoanAmount;
    private String maxRate;
    private String minRate;

    private String showPosition;
    private BigDecimal checkMinPrice;
    private BigDecimal sourceDataScale;

    private String checkType;

    private String speed;

    private String loanTime;

    private String sublabelInfo;
}
